package zju.dgm.service.loadbalance;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.Getter;
import lombok.Setter;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.PropertySource;
import org.springframework.context.annotation.Scope;
import org.springframework.stereotype.Component;
import zju.dgm.util.Paths;


/**
 * @author lzy
 */
@Component
@PropertySource("classpath:zkconf/path.properties")
@ConfigurationProperties(prefix = "service.loadbalance")
@Getter
@Setter
public class LoadBalancePath extends Paths {

    private String rootPath;
    private String rwLockPath;
    private String infoPath;
}
